import { Button } from "antd";
import { useState } from "react";
import styles from "@/styles/Home.module.css";

export default function Home() {
  const [count, setCount] = useState(0);
  const handleClick = () => {
    setCount((count) => count + 1);
  };
  return (
    <div className={styles.home}>
      {`count:${count}`}
      <Button type={"primary"} onClick={handleClick}>1234</Button>
    </div>
  );
}
